﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditTopic.aspx.cs" Inherits="KerriganForum.EditTopic" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <style type="text/css">
   
     ﻿body{
        background-color:#ECF5FB;
        background-position:center bottom;
        background-repeat:repeat-x;
        font-family:Tahoma,Verdana,Segoe,sans-serif;
        font-size:70%;
        padding-bottom:20px;
    }
   
   .Container
   {
       margin:auto;
       min-height:400px;
       background:#ffffff;
       max-width:500px;
       min-width:500px;
       border:solid 1px #d4d4d4;
       padding:0 20px 20px 20px;
   }
   
   .ToolBar
   {
       border:solid 1px #d4d4d4;
       padding:10px;
       margin-bottom:20px;
   }
   
   .GridContainer
   {
       background:#ECF5FB;
       min-height:300px;
       border:solid 1px #d4d4d4;
   }
   
   
   .ModalPopupBG
   {
       background-color: #666699;
       filter: alpha(opacity=50);
       opacity: 0.7;
   }
   
   .popup_Container {
       background-color:#fffeb2;
       border:2px solid #000000;
       padding: 0px 0px 0px 0px;
        margin-left: 200px;
        margin-right: 300px;
        margin-top: 150px;
        }
   
   .popupConfirmation
   {
       width: 300px;
       height: 200px;
   }
   
   .popup_Titlebar {
       background: url('Images/titlebar_bg.jpg');
        margin-bottom: 193px;
        margin-right: 495px;
        }
   
   .popup_Body
   {
       padding:15px 15px 15px 15px;
       font-family:Arial;
       font-weight:bold;
       font-size:12px;
       color:#000000;
       line-height:15pt;
       clear:both;
       padding:20px;
   }
   
   .TitlebarLeft 
   {
       float:left;
       padding-left:5px;
       padding-top:5px;
       font-family:Arial, Helvetica, sans-serif;
       font-weight:bold;
       font-size:12px;
       color:#FFFFFF;
   }
   .TitlebarRight 
   {
       background:url('Images/cross_icon_normal.png');
       background-position:right;
       background-repeat:no-repeat;
       height:15px;
       width:16px;
       float:right;
       cursor:pointer;
       margin-right:5px;
       margin-top:5px;
   }
   
   .popup_Buttons
   {
       margin:10px;
   }
    
</style>
       <script language="javascript" type="text/javascript">

           function onSuccess() {
               setTimeout(okay1, 2000);
           }


           function okay1() {
               window.parent.document.getElementById('ButtonEditDone1').click();
               document.getElementById('txtTitle').value = "";

           }

           function cancel1() {
               window.parent.document.getElementById('ButtonEditCancel1').click();
               document.getElementById('txtTitle').value = "";

           }

        </script>
        



    <div class="popup_Container">
           <div class="popup_Titlebar" id="PopupHeader">

               <div class="TitlebarRight" onclick="cancel();">
                  </div>

               <div class="TitlebarLeft">
<%--       <fieldset>
          <legend>Manage Article</legend>--%>
          <div class="popup_Body">
            <table id="Tableaz" runat="server" >
                <tr>
                    <td>Title</td>
                     <td><asp:TextBox ID="txtTitle" runat="server" Text=""  Width="150px"/> </td>
                </tr> 
                <tr>
                    <td>Category</td>
                     <td> 
                         <asp:DropDownList ID="DropDownListCategory" runat="server" DataTextField="Name" DataValueField="IdForumCategory">
 
                         </asp:DropDownList>
                     </td>
                     </tr> 
                <tr>
                    <td colspan="2" style="text-align:center;">
                    <div class="popup_Buttons">
                    <asp:Button ID="BtnOk" runat="server" Text="Ok" Width="50px" OnClick="btnOkay_Click"/>
                    <input ID="BtnCancel" runat="server" value="Cancel" type="button"  onclick="cancel1()"/>
                    </div>
                    </td>

                </tr>
            
            </table>
            </div>
          <%--  </fieldset>--%>
            </div>
            </div>
            </div>
    </form>
</body>
</html>
